// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import axios from 'axios'
import VDistpicker from 'v-distpicker'
import uploader from 'vue-simple-uploader'  //分片上传
import Header from '@/components/Header'//头部
import Footer from '@/components/Footer'//尾部
Vue.prototype.axios = axios
Vue.use(uploader)
Vue.config.productionTip = false


Vue.component('v-distpicker', VDistpicker)
Vue.component('Header',Header)
Vue.component('Footer',Footer)

Vue.prototype.$api='http://127.0.0.1:8000/'
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
